export default {
  // 系统设置 路由
  path: '/system',
  component: () => import('@/views/layout'),
  // 一级路由的重定向
  redirect: '/system_menu',
  // 为了后面面包屑导航做的处理
  meta: { title: '系统设置', icon: '' },
  children: [
    {
      path: '/system_menu',
      component: () => import('@/views/system/menu'),
      name: 'system_menu',
      meta: { title: '菜单管理', icon: '' }
    },
    {
      path: '/system_role',
      component: () => import('@/views/system/role'),
      name: 'system_role',
      meta: { title: '角色管理', icon: '' }
    },
    {
      path: '/system_user',
      component: () => import('@/views/system/user'),
      name: 'system_user',
      meta: { title: '用户管理', icon: '' }
    },
    {
      path: '/system_dict',
      component: () => import('@/views/system/dict'),
      name: 'system_dict',
      meta: { title: '字典管理', icon: '' }
    },
    {
      path: '/sys_generator',
      component: () => import('@/views/system/generator'),
      name: 'sys_generator',
      meta: { title: '代码生成器', icon: '' }
    },
    {
      path: '/system_config',
      name: 'system_config',
      component: () => import('@/views/system/config'),
      meta: { title: '系统配置', icon: '' }
    }
  ]
}
